home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Extras / MIDI / camd-37.1 / development / include / midi / camdbase.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-27  |  1.5 KB  |  57 lines

  1. #ifndef MIDI_CAMDBASE_H
  2. #define MIDI_CAMDBASE_H
  3.  
  4. /************************************************************************
  5. *     C. A. M. D.    (Commodore Amiga MIDI Driver)                   *
  6. *************************************************************************
  7. *                                    *
  8. * Design & Development    - Roger B. Dannenberg                *
  9. *            - Jean-Christophe Dhellemmes            *
  10. *            - Bill Barton                    *
  11. *                       - Darius Taghavy                                *
  12. *                                                                       *
  13. * Copyright 1990-1999 by Amiga, Inc.                                    *
  14. *************************************************************************
  15. *
  16. * camdbase.h - CAMD library base structure
  17. *
  18. ************************************************************************/
  19.  
  20. #ifndef EXEC_LIBRARIES_H
  21.   #include <exec/libraries.h>
  22. #endif
  23.  
  24. #ifndef EXEC_LISTS_H
  25.   #include <exec/lists.h>
  26. #endif
  27.  
  28. #ifndef EXEC_SEMAPHORES_H
  29.   #include <exec/semaphores.h>
  30. #endif
  31.  
  32.  
  33. struct CamdBase 
  34. {
  35.     struct Library Lib;
  36.     UWORD pad0;
  37.  
  38. #if 0
  39.  
  40.     /* publicly available stuff (READ ONLY) */
  41.     ULONG Time;     /* current time */
  42.     WORD TickFreq;    /* ideal CAMD Tick frequency */
  43.     WORD TickErr;    /* nanosecond error from ideal Tick length to real tick length */
  44.             /* actual tick length is:  1/TickFreq + TickErr/1e9 */
  45.             /* -705 < TickErr < 705 */
  46. #endif
  47.  
  48.     /* private stuff below here */
  49. };
  50.  
  51. #if 0
  52. #define CAMD_TickErr_Min    -705
  53. #define CAMD_TickErr_Max    705
  54. #endif
  55.  
  56. #endif
  57.